/*
 * @Author: gxn
 * @Date: 2021-02-03 20:10:10
 * @LastEditors: gxn
 * @LastEditTime: 2021-02-03 20:31:54
 * @Description: file content
 */
// 出账配置
import { finance } from '../servicePath'
export default ({ service, request, serviceForMock, requestForMock, mock, faker, tools }) => ({
  admin_chargeConfig_add (data) {
    return request({
      url: `${finance}/admin/chargeConfig/add`,
      method: 'POST',
      data
    })
  },
  admin_chargeConfig_delete (data) {
    return request({
      url: `${finance}/admin/chargeConfig/delete`,
      method: 'POST',
      data
    })
  },
  admin_chargeConfig_get (params) {
    return request({
      url: `${finance}/admin/chargeConfig/get`,
      method: 'POST',
      params
    })
  },
  admin_chargeConfig_getList (params) {
    return request({
      url: `${finance}/admin/chargeConfig/getList`,
      method: 'POST',
      params
    })
  },
  admin_chargeConfig_getPageList (params) {
    return request({
      url: `${finance}/admin/chargeConfig/getPageList`,
      method: 'POST',
      params
    })
  },
  admin_chargeConfig_update (data) {
    return request({
      url: `${finance}/admin/chargeConfig/update`,
      method: 'POST',
      data
    })
  }
})
